package my.spring.ioc.exception;

/**
 * 无法再容器找到BeanDefinition
 * @author fengbo
 * @date 2018/6/19
 */
public class NoSuchBeanDefinitionException extends BeansException {
    public NoSuchBeanDefinitionException(String message) {
        super("No bean named '" + message + "' available");
    }

    public NoSuchBeanDefinitionException(String message, Throwable cause) {
        super(message, cause);
    }
}
